/*
 * @Description: 自定义指令模块
 * @Author: yue
 * @Date: 2022-08-29 21:21:53
 * @LastEditors: yue
 * @LastEditTime: 2022-08-29 21:23:11
 */

// 图片报错解决
export const imagerror = {
  inserted(el, padding) {
    el.onerror = function () {
      el.src = padding.value
    }
  }
}
